package com.cloudbroker.bcs.platform.dav.bizexport.t2.common;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cloudbroker.bcs.platform.dav.bizapi.service.common.stock.StockBizService;
import com.cloudbroker.bcs.platform.dav.bizapi.service.common.stock.result.StockDetailResult;
import com.cloudbroker.bcs.platform.dav.bizapi.service.common.stock.result.StockListResult;
import com.cloudbroker.bcs.platform.dav.bizapi.service.viewpoint.vo.StockCodeForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.viewpoint.vo.StockListForm;
import com.cloudbroker.bcs.platform.dav.bizapi.t2service.common.StockT2BizService;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;

/**
 * Created by zhaojp18008 on 2016/5/11.
 */
@Service
public class StockT2 implements StockT2BizService {
    @Resource
    private StockBizService stockBizService;

    @Override
    public StockListResult funcStockList(@ServiceParam("param") StockListForm param) {
        return stockBizService.funcStockList(param);
    }

    @Override
    public StockDetailResult checkStockCode(@ServiceParam("param") StockCodeForm param) {
        return stockBizService.checkStockCode(param);
    }
}
